package entity.bean;

/**
 *
 * @author 52571783
 */
public class Seat {
    // Data Members
    private int rowNo;
    private int colNo;
    public boolean unavailability;
    public boolean occupancy;
    
    public Seat(int rowNo, int colNo){
        this.rowNo = rowNo;
        this.colNo = colNo;
        unavailability = false;
        occupancy = false;
    }
    
    public Seat(){
        unavailability = false;
        occupancy = false;
    }
    
    // Setter Functions
    public void setRowNo(int value){
        rowNo = value;
    }
    
    public void setColNo(int value){
        colNo = value;
    }
    
    public void setUnavailability(boolean value){
        unavailability = value;
    }
    
    public void setOccupancy(boolean value){
        occupancy = value;
    }
    
    // Getter Functions
    public int getRowNo(){
        return rowNo;
    }
    
    public int getColNo(){
        return colNo;
    }
    
    public boolean getUnavailability(){
        return unavailability;
    }
    
    public boolean getOccupancy(){
        return occupancy;
    }
}
